import os
import django

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'HuaXianGuan.settings')
django.setup()

from django.db import connection

cursor = connection.cursor()
cursor.execute("DESCRIBE user")
columns = cursor.fetchall()

print("User table columns:")
for column in columns:
    print(f"- {column[0]}: {column[1]}")